﻿@model GameSchoolWeb.Models.TurninInAssignment
<div id="templatemo_content">
    @{
        ViewBag.Title = "Stig nemanda";
    }
    <div class="templatemo_box">
        <h2>
            Stig nemanda</h2>
        <div class="body">
            <h4 class="display-label">
                Titill</h4>
            <div class="display-field">
                @Html.DisplayFor(model => model.strTitle)
            </div>
            <h4 class="display-label">
                Nemandi skilaði Dagsetning
            </h4>
            <div class="display-field">
                @Html.DisplayFor(model => model.dReturnDate)
            </div>
            <h4 class="display-label">
                Verkefni nemanda</h4>
            <div class="display-field">
                @Html.DisplayFor(model => model.strContent)
            </div>
            @using (Html.BeginForm())
            {
                @Html.ValidationSummary(true)
                <h4 class="editor-label">
                    Hvað viltu gefa mörg stig fyrir þetta verkefni
                </h4>
                <div class="editor-field">
                    @Html.EditorFor(model => model.nScore)
                    @Html.ValidationMessageFor(model => model.nScore)
                </div>
      
                <p>
                    <input type="submit" value="Staðfesta" />
                </p>
                <hr />
            }
            <p>
                @Html.ActionLink("Back to List", "GetAllTurnedInAssignment")
            </p>
        </div>
        <div class="box_bottom">
            <span></span>
        </div>
    </div>
</div>
